﻿<%@ WebHandler Language="C#" Class="Game24" %>

using System;
using System.Web;

public class Game24 : IHttpHandler {
    
    public void ProcessRequest (HttpContext context) 
    {
        context.Response.ContentType = "text/html";
        int n1, n2, n3, n4;
        Random rand = new Random();
        n1 = rand.Next() %9+1;
        n2 = rand.Next() % 9 + 1;
        n3 = rand.Next() % 9 + 1;
        n4 = rand.Next() % 9 + 1;
        context.Response.Write(n1+" "+n2+" "+n3+" "+n4);
        
    }
 
    public bool IsReusable 
    {
        get {
            return false;
        }
    }

}